Total Complexity | 106 |
Dependencies | 2 |
Dependents | 1 |
Total lines | 512 |
Lines of code | 341 |
Logical lines of code | 192 |
Comment lines | 83 |
Methods | 13 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
render_api_notice() | 37 | 24 | 75 | |
show_notices() | 41 | 13 | 55 | |
ajax_fetch_api_notices() | 45 | 14 | 37 | |
should_show_notice() | 48 | 13 | 32 | |
is_notice_compatible_with_plugin() | 48 | 12 | 33 | |
dismiss() | 53 | 9 | 21 | |
get_api_notices_data() | 49 | 7 | 30 | |
notice_layout() | 52 | 7 | 28 | |
get_instance() | 71 | 2 | 6 | |
add_notice() | 73 | 2 | 5 | |
__construct() | 72 | 1 | 5 | |
get_current_plugin_slug() | 73 | 1 | 5 | |
new_notice_layout() | 66 | 1 | 9 |